<template>
  <div>
    <el-row class="mb-5">
      <el-col :span="4" :offset="4">
        <h1 style="line-height: 61px">LOGO</h1>
      </el-col>
      <el-col :span="10" :offset="6">
        <el-menu class="el-menu-demo" mode="horizontal">
          <el-menu-item index="/"><el-link type="primary" href="/pzhwlxt">网站首页</el-link></el-menu-item>
          <el-submenu index="2">
            <template slot="title">关于我们</template>
            <el-menu-item index="2-1">公司简介</el-menu-item>
            <el-menu-item index="2-2">公司公告</el-menu-item>
            <el-menu-item index="2-3">销售产品</el-menu-item>
          </el-submenu>
          <el-menu-item index="3">
            <el-link type="success" href="http://localhost:8080/pzhwlxt/message">在线留言</el-link>
          </el-menu-item>
          <el-menu-item index="4"><a href="/" target="_blank">管理员登录</a></el-menu-item>
        </el-menu>
      </el-col>
    </el-row>
    <hr/>
    <!--    网站的内容-->
    <router-view></router-view>

    <div class="footer">
      <el-row :gutter="20">
        <el-col :span="6">
          <div>关于我们<br/>公司简介<br/>公司公告<br/>销售产品</div>
        </el-col>
        <el-col :span="6">
          <div>在线留言</div>
        </el-col>
        <el-col :span="6">
          <div>友情链接<br/> 快递公司<br/>搬家公司<br/> 快递服务有限公司</div>
        </el-col>
        <el-col :span="6">
          <div>客户热线<br/>000-000-0000<br/>工作时间 周一到周日9：00-20：00<br/></div>
        </el-col>
      </el-row>
      <el-divider content-position="center">版权所有xxxxxxxxxxxxxx</el-divider>
    </div>
  </div>
</template>

<script>
export default {
  name: "WebHeaderFooter"
}
</script>

<style scoped>
.footer {
  width: 100%;
  height: 200px;
  margin: 10px 0;
  padding: 10px;
  background: #99a9bf;
  color: white;
  font-size: 18px;
  text-align: center;
}
</style>